package com.mjk.manager.workflow.parser.sql.model;

import com.mjk.common.base.model.BaseEntity;
import com.mjk.common.core.jdbc.annotation.ArcSharding;
import com.mjk.common.core.jdbc.annotation.ExampleField;
import com.mjk.common.core.jdbc.annotation.Filed;
import com.mjk.common.core.jdbc.annotation.Id;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@ArcSharding(dataSource = "his", table = "chain")
public class ChainModel extends BaseEntity {

    @Id
    @ExampleField
    private Integer id;
    
    @ExampleField
    @Filed(comment = "应用名称",lenght = 255,cloum = "application_name")
    private String applicationName;
    
    @ExampleField
    @Filed(comment = "chain名称",lenght = 255,cloum = "chain_name")
    private String chainName;
    
    @Filed(comment = "chain描述",lenght = 255,cloum = "chain_desc")
    private String chainDesc;
    
    @Filed(comment = "表达式",lenght = 255,cloum = "el_data")
    private String elData;
    
    @Filed(comment = "创建时间",lenght = 255,cloum = "create_time")
    private String createTime;
    
    @ExampleField
    @Filed(comment = "是否开启",lenght = 255,cloum = "enable")
    private String enable;

}